try {
	Type.registerNamespace('SapplyScanVO');

	//出库申请VO
	SapplyScanVO = function() {};
	SapplyScanVO.prototype = new NCMMPubUtil.SuperVO();
	SapplyScanVO.PK_SCAN = {
		name: "pk_scan",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	SapplyScanVO.PK_HEAD = {
		name: "pk_head",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	SapplyScanVO.PK_GROUP = {
		name: "pk_group",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	SapplyScanVO.PK_ORG = {
		name: "pk_org",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	SapplyScanVO.VBILLCODE = {
		name: "vbillcode",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};

	SapplyScanVO.CTRANTYPEID = {
		name: "ctrantypeid",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	SapplyScanVO.CTRANTYPEIDNAME = {
		name: "ctrantypeidname",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	SapplyScanVO.DBILLDATE = {
		name: "dbilldate",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	SapplyScanVO.VTRANTYPECODE = {
		name: "vtrantypecode",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};

	//子表
	SapplyScanVO.CROWNO = {
		name: "crowno",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	SapplyScanVO.PK_ITEM = {
		name: "pk_item",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	SapplyScanVO.CISSURORG = {
		name: "cissueorg",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	SapplyScanVO.CISSURORG_NAME = {
		name: "cissueorg_name",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	SapplyScanVO.CMATERIALVID = {
		name: "cmaterialvid",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	SapplyScanVO.CMATERIALVID_CODE = {
		name: "cmaterialvid_code",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	SapplyScanVO.CMATERIALVID_NAME = {
		name: "cmaterialvid_name",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	SapplyScanVO.MATERIALSPEC = {
		name: "materialspec",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	SapplyScanVO.MATERIALTYPE = {
		name: "materialtype",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	SapplyScanVO.MATERIALSHORTNAME = {
		name: "materialshortname",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	SapplyScanVO.CUNITID = {
		name: "cunitid",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	SapplyScanVO.CUNITID_CODE = {
		name: "cunitid_code",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	SapplyScanVO.CUNITID_NAME = {
		name: "cunitid_name",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	SapplyScanVO.CASTUNITID = {
		name: "castunitid",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	SapplyScanVO.CASTUNITID_CODE = {
		name: "castunitid_code",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	SapplyScanVO.CASTUNITID_NAME = {
		name: "castunitid_name",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	SapplyScanVO.VCHANGERATE = {
		name: "vchangerate",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	SapplyScanVO.NNUM = {
		name: "nnum",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	SapplyScanVO.NASSISTNUM = {
		name: "nassistnum",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	SapplyScanVO.VBATCHCODE = {
		name: "vbatchcode",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};

	SapplyScanVO.BTS = {
		name: "bts",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};

	SapplyScanVO.NSCANNUM = {
		name: "nscannum",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	SapplyScanVO.NSCANASTNUM = {
		name: "nscanastnum",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	SapplyScanVO.CWAREHOUSEID = {
		name: "cwarehouseid",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	SapplyScanVO.CSPACEID = {
		name: "cspaceid",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	SapplyScanVO.CSPACEID_CODE = {
		name: "cspaceid_code",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	SapplyScanVO.CSPACEID_NAME = {
		name: "cspaceid_name",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	SapplyScanVO.VSERIALCODE = {
		name: "vserialcode",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	SapplyScanVO.CWASTEWAREHOUSEID = {
        name: "cwastewarehouseid",
        type: NCMMPubUtil.VALUE_TYPE_TEXT
    };
    SapplyScanVO.CWASTEWAREHOUSEID_NAME = {
        name: "cwastewarehouseid_name",
        type: NCMMPubUtil.VALUE_TYPE_TEXT
    };
    SapplyScanVO.ISWAST = {
        name: "iswast",
        type: NCMMPubUtil.VALUE_TYPE_TEXT
    };
	SapplyScanVO.prototype.getAllAttrs = function() {
		return [
			SapplyScanVO.PK_SCAN,
			SapplyScanVO.PK_HEAD,
			SapplyScanVO.PK_GROUP,
			SapplyScanVO.PK_ORG,
			SapplyScanVO.VBILLCODE,
			SapplyScanVO.CTRANTYPEID,
			SapplyScanVO.CTRANTYPEIDNAME,
			SapplyScanVO.DBILLDATE,
			SapplyScanVO.VTRANTYPECODE,
			//表体
			SapplyScanVO.PK_ITEM,
			SapplyScanVO.CROWNO,
			SapplyScanVO.CISSURORG,
			SapplyScanVO.CISSURORG_NAME,
			SapplyScanVO.CMATERIALVID,
			SapplyScanVO.CMATERIALVID_CODE,
			SapplyScanVO.CMATERIALVID_NAME,
			SapplyScanVO.MATERIALSPEC,
			SapplyScanVO.MATERIALTYPE,
			SapplyScanVO.MATERIALSHORTNAME,
			SapplyScanVO.CUNITID,
			SapplyScanVO.CUNITID_CODE,
			SapplyScanVO.CUNITID_NAME,
			SapplyScanVO.CASTUNITID,
			SapplyScanVO.CASTUNITID_CODE,
			SapplyScanVO.CASTUNITID_NAME,
			SapplyScanVO.VCHANGERATE,
			SapplyScanVO.NNUM,
			SapplyScanVO.NASSISTNUM,
			SapplyScanVO.VBATCHCODE,
			SapplyScanVO.BTS,
			SapplyScanVO.NSCANNUM,
			SapplyScanVO.NSCANASTNUM,
			SapplyScanVO.CWAREHOUSEID,
			SapplyScanVO.CSPACEID,
			SapplyScanVO.CSPACEID_CODE,
			SapplyScanVO.CSPACEID_NAME,
			SapplyScanVO.VSERIALCODE,
			SapplyScanVO.CWASTEWAREHOUSEID,
			SapplyScanVO.CWASTEWAREHOUSEID_NAME,
			SapplyScanVO.ISWAST
		];
	};
	SapplyScanVO.prototype.getTableName = function() {
		return "ic_sapply_scan";
	};
	SapplyScanVO.prototype.getPrimaryAttr = function() {
		return SapplyScanVO.PK_SCAN;
	};
} catch(e) {
	$e(e);
}